package com.zhanggm.springcloud.mongo.dao;

import com.zhanggm.springcloud.mongo.pojo.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * TODO
 *
 * @author Zgm
 * @version 1.0
 * @date 2020/6/30 0030 14:50
 */
public interface UserDao extends MongoRepository<User,String> {

    List<User> findByNameLike(String name);
}
